<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="template-header.jsp" />
<h1>Login</h1>

<form method="POST" action="j_security_check">
	<table>
		<tbody>
			<tr>
				<td>Benutzer</td>
				<td><input type="text" name="j_username" size="50" /></td>
			</tr>
			<tr>
				<td>Passwort</td>
				<td><input type="password" name="j_password" size="50" /></td>
			</tr>
<c:if test='${not empty param["error"]}'>
			<tr class="verification-error">
				<td colspan="2">Benutzername oder Passwort falsch</td>
			</tr>
</c:if>
			
		</tbody>
	</table>
	<input type="submit" class="submit" id="submit" value="Einloggen" />
</form>



<jsp:include page="template-footer.jsp" />